home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1997 #1
/
Amiga Plus CD - 1997 - No. 01.iso
/
pd
/
programmierung
/
proasm
/
rexx
/
dopus
/
addasxincdir.dopus
next >
Wrap
Text File
|
1996-04-29
|
684b
|
30 lines
/* Add selected directories as IncDir to ASX */
/* for Directory Opus 4, using ASX */
/* 06.07.93 by Daniel Weber */
OPTIONS RESULTS
dopusPort = ADDRESS() /* get port name of DOpus */
status 3 /* get #of active window */
win = result
status 13 win /* get actual selected drive */
path = result
getselecteddirs '+' /* get selected dirs from DOpus */
IF RC ~= 0 THEN EXIT(0)
files = result
DO WHILE files ~=''
PARSE VAR files incpath '+' files
ADDRESS (''||dopusPort) /* show file name */
toptext 'AddIncDir 'path''incpath
ADDRESS 'asx_rexx'
AddIncDir path''incpath /* add selected directories as IncDir */
END
EXIT(0)